package com.example.intelligent_transportation;

import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class Sign_inActivity extends AppCompatActivity {
    //sp
    SharedPreferences activity;
    private LinearLayout linearLayout;
    private TextView textView;
    private TextView textView2;
    private EditText editText;
    private EditText editText2;
    private LinearLayout linearLayout2;
    private Button signInSignIn;
    private Button signInRegister;
    private CheckBox signInPassword;
    private CheckBox signInLogon;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_sign_in);
        initView();
        activity = getSharedPreferences("", Context.MODE_PRIVATE);
    }

    private void initView() {
        linearLayout = (LinearLayout) findViewById(R.id.linearLayout);
        textView = (TextView) findViewById(R.id.textView);
        textView2 = (TextView) findViewById(R.id.textView2);
        editText = (EditText) findViewById(R.id.editText);
        editText2 = (EditText) findViewById(R.id.editText2);
        linearLayout2 = (LinearLayout) findViewById(R.id.linearLayout2);
        signInSignIn = (Button) findViewById(R.id.sign_in_sign_in);
        signInRegister = (Button) findViewById(R.id.sign_in_register);
        signInPassword = (CheckBox) findViewById(R.id.sign_in_password);
        signInLogon = (CheckBox) findViewById(R.id.sign_in_logon);
    }
}